<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
	<?=$this->session->userdata('user_email')?>
	<form id='userPass' method='POST' action="<?=$links->makeLink( 'user/profile' )?>" name='Reg'>
		<fieldset>
				<label for="nick">Ник</label>
				<input type="text" name="nick" id="nick" value="<?=$this->session->userdata('nick')?>" minLenght='5' />
				<input type="submit" value="Изменить" class="ui-button ui-state-default ui-corner-all" />
		</fieldset>
	</form>
	<div id="userPass">
		<form id='userPass' method='POST' action="<?=$links->makeLink( 'user/profile' )?>" name='Reg'>
			<fieldset>
					<label for="passwordProfile">Пароль</label>
					<input type="password" name="password" id="passwordProfile" value="" class='required' minLenght='5'/>
					<label for="passwordProfile">Повторение Пароля</label>
					<input type="password" name="rePassword" id="passwordProfile" value="" class='required' minLenght='5'/>
					<input type="submit" value="Сменить Пароль" style='display:block' class="ui-button ui-state-default ui-corner-all" />
			</fieldset>
		</form>
	</div>
